/*
 * Copyright 2022 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@mixin Wizard {
  .kui--wizard {
    @content;
  }
}

@mixin WizardTitle {
  .pf-c-wizard__title {
    @content;
  }
}

@mixin WizardHeader {
  .kui--wizard-header {
    @content;
  }
}

@mixin CollapsedHeader {
  &[data-collapsed-header] {
    @content;
  }
}

@mixin WizardHeaderActionButtons {
  .kui--wizard-header-action-buttons {
    @content;
  }
}

@mixin WizardDescription {
  .pf-c-wizard__description {
    @content;
  }
}

@mixin WizardMainContent {
  .kui--wizard-main-content {
    @content;
  }
}

@mixin WizardBody {
  .pf-c-wizard__main-body {
    @content;
  }
}

@mixin WizardFooter {
  .kui--wizard-footer.pf-c-wizard__footer {
    @content;
  }
}

@mixin WizardFooterTopContent {
  .kui--wizard-footer--top {
    @content;
  }
}

@mixin WizardFooterBottomContent {
  .kui--wizard-footer--bottom {
    @content;
  }
}

@mixin WizardFooterBottomContent {
  .kui--wizard-footer--bottom {
    @content;
  }
}

@mixin WizardFooterBottomLeftContent {
  .kui--wizard-footer--bottom-left {
    @content;
  }
}

@mixin WizardFooterBottomRightContent {
  .kui--wizard-footer--bottom-right {
    @content;
  }
}

@mixin WizardNav {
  .pf-c-wizard__nav {
    @content;
  }
}

@mixin WizardNavItem {
  .pf-c-wizard__nav-link {
    @content;
  }
}

@mixin NotCurrent {
  &:not(.pf-m-current) {
    @content;
  }
}

/* Wizard nav counter element (1) (2) etc. */
@mixin Counter {
  &:before {
    @content;
  }
}

@mixin WizardNavItemDescription {
  .kui--wizard-nav-item-description {
    @content;
  }
}

@mixin NoBottomMargin {
  &[data-bottom-margin='false'] {
    @content;
  }
}

@mixin CancelButton {
  .pf-c-wizard__footer-cancel {
    @content;
  }
}

@mixin WizardProgress {
  .kui--wizard-progress {
    @content;
  }
}
